package com.cccyy.xml.vo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

/**
 * @author 作者 Risk;
 * @version 创建时间：2018年7月17日 上午10:41:26
 * 类说明:  xml解析基础类
 */
@XStreamAlias("com/cccyy/data")
public class Data {
    @XStreamAlias("struct")
    private Struct struct;
    @XStreamAlias("array")
    private Array array;
    private Field field;
    @XStreamAsAttribute
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Field getField() {
        return field;
    }

    public void setField(Field field) {
        this.field = field;
    }

    public Array getArray() {
        return array;
    }

    public void setArray(Array array) {
        this.array = array;
    }

    public Struct getStruct() {
        return struct;
    }

    public void setStruct(Struct struct) {
        this.struct = struct;
    }
}

